/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-01-15     Wangjiangbo       the first version
 */
#ifndef __APP_MOTORCONTROL_H__
#define __APP_MOTORCONTROL_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include "bsp/bsp.h"

#define LIFT_ID        3           //升降
#define LEFT_ID        2           //左轮
#define RIGHT_ID       1           //右轮


void app_mc_init(void);
void app_mc_enable(void);
void app_mc_disable(void);
void app_mc_run(int id, int32_t vel);


#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* APPLICATIONS_APP_APP_MOTORCONTROL_H_ */
